import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'
import * as echarts from 'echarts';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import Vuex from 'vuex'
import 'particles.js'
// 配置axios默认值
axios.defaults.baseURL = 'http://1.14.34.249:8080'
// 主体框架
import Background from './components/Background.vue'
import Framework from './components/Framework.vue'
import Teamwork from './components/Teamwork.vue'
import Specifices from './components/Specifices.vue'
// 课程分析板块
import Roll from '@/components/student_team/Roll.vue'
import Rank from '@/components/student_team/Rank.vue'
import Excellent from '@/components/student_team/Excellent.vue'
import Knowledge from '@/components/student_team/Knowledge.vue';
import Mission from '@/components/student_team/Mission.vue';
import Literacy from '@/components/student_team/Literacy.vue';
import Lean from '@/components/student_team/Lean.vue';
import Capacity from '@/components/student_team/Capacity.vue';
// 按钮点击模板
import Activity from '@/components/student_team/button/Activity.vue';
import Fault from '@/components/student_team/button/Fault.vue';
import Performance from '@/components/student_team/button/Performance.vue';
import Warning from '@/components/student_team/button/Warning.vue';
Vue.config.productionTip = false
Vue.prototype.$axios = axios
Vue.prototype.$echarts = echarts
Vue.use(ElementUI);
Vue.use(Vuex)
// 主体框架
Vue.component('Background', Background)
Vue.component('Framework', Framework)
Vue.component('Teamwork', Teamwork)
Vue.component('Specifices', Specifices)
// 课程分析模块
Vue.component('Roll',Roll)
Vue.component('Rank',Rank)
Vue.component('Excellent',Excellent)
Vue.component('Knowledge',Knowledge)
Vue.component('Mission',Mission)
Vue.component('Literacy',Literacy)
Vue.component('Lean',Lean)
Vue.component('Capacity',Capacity)
// 按钮点击模板
Vue.component('Activity',Activity)
Vue.component('Fault',Fault)
Vue.component('Performance',Performance)
Vue.component('Warning',Warning)
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
